#include "MainWindow.h"
#include "ReadWindow.h"
#include "WriteWindow.h"
#include "ScreenshotWindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QWidget(parent)
{
    ui.setupUi(this);
}

MainWindow::~MainWindow()
{
}

void MainWindow::on_read_clicked()
{
    ReadWindow* w = new ReadWindow();
    w->show();
}

void MainWindow::on_write_clicked()
{
    WriteWindow* w = new WriteWindow();
    w->show();
}

void MainWindow::on_screenshot_clicked()
{
    ScreenshotWindow* w = new ScreenshotWindow();
    w->show();
}
